package zjh.rbac.domain.entity;


public class Role extends BaseEntity {


    /**
     * 角色名称
     */
    public String name;

    /**
     * 数据访问范围，只能是 [个人、部门、全局]
     */
    public String dataScope;

    public Role() {
    }

    public Role(int id, String name, String dataSpace) {
        super(id);
        this.name = name;
        this.dataScope = dataSpace;
    }
}
